package com.geeguo.ebuilder.client.business.system.organization.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.geeguo.ebuilder.client.base.database.entity.BaseModifyEntity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName(value = "sys_organization")
public class OrganizationEntity extends BaseModifyEntity {
	
	/**
     * 父节点ID
     */
    @TableField("parent_id")
	private String parentId;
    
    /**
     * 编码
     */
    @TableField("code")
	private String code;
    
    /**
     * 名称
     */
    @TableField("name")
	private String name;
    
    /**
     * 深度
     */
    @TableField("depth")
    private Integer depth;
    
    /**
     * 排序
     */
    @TableField("sequence")
    private Integer sequence;
    
    /**
     * 启用状态（1：启用、2：停用）
     */
    @TableField("state")
    private Integer state;
}